//
// Created by LiuYou on 2021/8/11.
//

#ifndef NETRADIOLCPP_TBF_HPP
#define NETRADIOLCPP_TBF_HPP


using TBF = void;

static const int TBF_MAX = 1024;

TBF* tbfInit(int cps, int burst);

int tbfFetchToken(TBF*, int);

int tbfReturnToken(TBF*, int);

int tbfDestroy(TBF* tbf);


#endif //NETRADIOLCPP_TBF_HPP
